<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

</body>
<script>
    var obj ={
        name:"damu",
        age:18,
        [Symbol.for("fn")]:function () {
            console.log("function")
        }
    };
    obj[Symbol.for("fn")]()
</script>
</html>